﻿using System.ComponentModel.DataAnnotations;

namespace B.S.Meeting.ReadAPI.Dtos
{
    public class DeptDto
    {
        /// <summary>
        /// 部门ID
        /// </summary>
        public int DeptId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }
        /// <summary>
        /// 上级部门ID
        /// </summary>
        public int? ParentId { get; set; }
        /// <summary>
        /// 部门状态
        /// </summary>
        public int DeptStatus { get; set; }
        /// <summary>
        /// 成员数量
        /// </summary>
        public int DeptNumber { get; set; }
        /// <summary>
        /// 主管人员
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 主管人员名字
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 部门描述
        /// </summary>
        public string DeptDesc { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdTime { get; set; }
    }
}
